<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- footer_begin -->
<%
String dy1_path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
String deviceType = request.getParameter("selecttype");
%>
<script type="text/javascript">
function selectDeviceType(){
	var type = $(".select_down").val();
	if("131"==type){
		location.href=contextPath+"user/z/zyzndlqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("132"==type){
		location.href=contextPath+"user/z/zyznglkglist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("133"==type){
		location.href=contextPath+"user/z/zyznfhkglist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("134"==type){
		location.href=contextPath+"user/z/zyznrdqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("135"==type){
		location.href=contextPath+"user/z/zyznmxlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("139"==type){
		location.href=contextPath+"user/z/zyznzhhgqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("140"==type){
		location.href=contextPath+"user/z/zyzndldrqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("141"==type){
		location.href=contextPath+"user/z/zyznblqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("142"==type){
		location.href=contextPath+"user/z/zyznkgglist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}else if("143"==type){
		location.href=contextPath+"user/z/zyzngzzsqlist.jsp?deviceid="+parentDeviceId+"&devicetype="+prentDeviceType;
	}
}
</script>
<select class="select_down" onchange="selectDeviceType();" >
	<option value ="131" <%if("131".equals(deviceType)){ %>selected="selected"<%} %> >站内断路器</option>
	<option value ="132" <%if("132".equals(deviceType)){ %>selected="selected"<%} %>>站内隔离开关</option>
	<option value ="133" <%if("133".equals(deviceType)){ %>selected="selected"<%} %>>站内负荷开关</option>
	<option value ="134" <%if("134".equals(deviceType)){ %>selected="selected"<%} %>>站内熔断器</option>
	<option value ="135" <%if("135".equals(deviceType)){ %>selected="selected"<%} %>>站内母线</option>
	<option value ="139" <%if("139".equals(deviceType)){ %>selected="selected"<%} %>>站内组合互感器</option>
	<option value ="140" <%if("140".equals(deviceType)){ %>selected="selected"<%} %>>站内电力电容器</option>
	<option value ="141" <%if("141".equals(deviceType)){ %>selected="selected"<%} %>>站内避雷器</option>
	<option value ="142" <%if("142".equals(deviceType)){ %>selected="selected"<%} %>>站内开关柜</option>
	<option value ="143" <%if("143".equals(deviceType)){ %>selected="selected"<%} %>>站内故障指示器</option>
</select>